From 69e3bf2206a3113a41f41aca5ff87e84dcde1664 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 22 Jul 2025 17:16:39 -0400 Subject: [PATCH] justfile: Add a target to iterate on container unit tests quickly We need to split these into two container builds probably... --- Justfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Justfile b/Justfile index 2456c2b6..d46f6c0f 100644 --- a/Justfile +++ b/Justfile @@ -38,7 +38,10 @@ unitcontainer-build: unitcontainer: unitcontainer-build # need cap-add=all for mounting podman run --rm --net=none {{unitpriv}} {{unittest_args}} --cap-add=all --env=TEST_CONTAINER=1 localhost/ostree-bintest /tests/run.sh - +# For iterating on the tests +unitcontainer-fast: + podman run --rm --net=none {{unitpriv}} {{unittest_args}} --cap-add=all --env=TEST_CONTAINER=1 -v $(pwd)/tests-unit-container:/tests:ro --security-opt=label=disable localhost/ostree-bintest /tests/run.sh + # Run a build on the host system build-host: . ci/libbuild.sh && build -- 2.30.2